package com.lyluly.coursemgmt.servicemodule.model;

import java.util.Date;

public class QuAns {
    private Integer quAnsId;

    private String sId;

    private String question;

    private String tId;

    private String answer;

    private String solved;

    private Date createtime;

    public Integer getQuAnsId() {
        return quAnsId;
    }

    public void setQuAnsId(Integer quAnsId) {
        this.quAnsId = quAnsId;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId == null ? null : sId.trim();
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question == null ? null : question.trim();
    }

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId == null ? null : tId.trim();
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    public String getSolved() {
        return solved;
    }

    public void setSolved(String solved) {
        this.solved = solved == null ? null : solved.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", quAnsId=").append(quAnsId);
        sb.append(", sId=").append(sId);
        sb.append(", question=").append(question);
        sb.append(", tId=").append(tId);
        sb.append(", answer=").append(answer);
        sb.append(", solved=").append(solved);
        sb.append(", createtime=").append(createtime);
        sb.append("]");
        return sb.toString();
    }
}